package com.gedi.consumer.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @Author:RenPu
 * @Date: 2020/6/29 12:37
 * @Version: 1.0
 * @description:
 */


@Configuration
public class AppicationContext {


    @Bean
    public RestTemplate getrestTemplate(){
       return new RestTemplate();
    }
}
